I used shader code in Unity to reproduce some classic art effects. The following is a demonstration of the effects. This series is based on the book "Unity Shader 入门精要" by Feng Lele and its reference code library. I wrote the code to reproduce the effects in the book and added detailed comments to the shader code in the code block, which is easy for readers to understand. I wrote a blog for each chapter of this series and posted it on my blog platform. All the codes of this project are at Code repository.

False Color

False Color Effect

Basic Lighting

Basic Lighting Effect

Basic Texture

Basic Texture Effect

Transparency

Transparency Effect

Complex Lighting

Complex Lighting Effect

Complex Texture

Complex Texture 1 Complex Texture 2 Complex Texture 3

Animation

Animation Effect 1 Animation Effect 2 Animation Effect 3 Animation Effect 4

Image Processing

Image Processing 1 Image Processing 2 Image Processing 3 Image Processing 4 Image Processing 5

Depth and Normal Textures

Motion Blur Edge Detection Fog Effect

Non-photorealistic Rendering

NPR Style

Noise

Noise Effect 1 Noise Effect 2 Noise Effect 3

Surface Shader

Surface Shader 1 Surface Shader 2

PBS

PBS Rendering